<template>
    <certManager 
        :type="1"
        :location="location"
        @returnBack="returnBack"
        ></certManager>
</template>
<script>
import certManager from "@/components/common/certManager"
export default {
    name:'achievementDetail',
    components:{certManager},
    created(){
        this.location[2].name=this.$route.query.name
    },
    data(){
        return{
            location:[
                {
                    name:"教学课堂管理",
                    path:''
                },{
                    name:"培训管理",
                    path:'/trainingManager'
                },{
                    name:'成绩详情',
                    path:'/trainingRecord'
                }
            ]
        }
    },
    methods:{
        returnBack(){
            this.$router.push({path:"/trainingManager",query:{page:this.$route.query.page}})
        }
    }
}
</script>